package com.mima.entity;

/**
 * 服务器配置文件
 * 
 * @author jackson.zhang
 *
 */
public class NetConfig {

	private int id;
	private String serverType;
	private String site;
	private String address;
	private int port;
	private int adminPort;
	private String user;
	private String password;

	public NetConfig() {
		super();
	}

	public NetConfig(int id, String serverType, String site, String address, int port, int adminPort, String user,
			String password) {
		super();
		this.id = id;
		this.serverType = serverType;
		this.site = site;
		this.address = address;
		this.port = port;
		this.adminPort = adminPort;
		this.user = user;
		this.password = password;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getServerType() {
		return serverType;
	}

	public void setServerType(String serverType) {
		this.serverType = serverType;
	}

	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getAdminPort() {
		return adminPort;
	}

	public void setAdminPort(int adminPort) {
		this.adminPort = adminPort;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "NetConfig [id=" + id + ", serverType=" + serverType + ", site=" + site + ", address=" + address
				+ ", port=" + port + ", adminPort=" + adminPort + ", user=" + user + ", password=" + password + "]";
	}

}
